package coint.btc.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
 *  登录日志表
 * @author lt
 *
 */
@Entity
@Table(name="rizhi",catalog="btc")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Rizhi {
	
	@Id 
	@GeneratedValue
	@Column(name="id", unique=true, nullable=false)
	@ApiModelProperty(value = "id", required = false)
	public Integer id;
	@Column(name="Shouji")
	@ApiModelProperty(value = "手机号码", required = false)
	public String shouji;
	
	@Column(name="Shijian")
	@ApiModelProperty(value = "登录/注册时间", required = false)
	public String shijian;
	
	@Column(name="Chenggong")
	@ApiModelProperty(value = "-1不成功1成功", required = false)
	public Integer chenggong;
	
	@Column(name="IP")
	@ApiModelProperty(value = "登录/注册IP", required = false)
	public String  ip;
	
	@Column(name="IE")
	@ApiModelProperty(value = "浏览器信息", required = false)
	public String  ie;
	
	@Column(name="Leixing")
	@ApiModelProperty(value = "1注册，2登录", required = false)
	public Integer leixing;

}
